<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
	<head>
		<title>Code Properties</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta content="noindex, nofollow" name="robots">
		<script language="javascript">

var oEditor = window.parent.InnerDialogLoaded() ;
var FCKLang = oEditor.FCKLang ;
var FCKCodes = oEditor.FCKCodes ;

window.onload = function ()
{
    oEditor.FCKLanguageManager.TranslatePage( document ) ;
    window.parent.SetOkButton( true ) ;	
}

function Ok()
{
	var select = document.getElementById('code_type');
	FCKCodes.Add(select.options[select.selectedIndex].innerHTML,document.getElementById('code_text').value);
	return true ;
}
		</script>
	</head>

	<body scroll="no" style="OVERFLOW: hidden">
		<table height="100%" width="95%" align="center">
						<tr height="40">
							<td>
								<span fckLang="CodeDlgName"></span></td>
							<td>
								<select id="code_type">
								<option selected="selected" >java</option>

								<option>ruby</option>		
								<option>python</option>
								<option>cpp</option>
								<option>c#</option>
								<option>sql</option>
								<option>xml</option>

								<option>css</option>
								<option>js</option>
								</select></td> 	
							</td>
						</tr>
						<tr valign="top">
							<td>Code</td>

							<td>
								<textarea id="code_text" cols="90" rows="20"></textarea></td> 	
							</td>
						</tr>
		</table>
	</body>
</html>